<?php

namespace App\Models;

use App\Common\Constant\Params;
use App\Services\IStatisticService;
use App\Services\IStorageService;
use App\Services\IAreaService;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Notifications\Notifiable;
use Illuminate\Support\Collection;

class OldMaster extends BaseModel
{

    protected $connection = 'localdocker';

    protected $table = 'master';

    protected $primaryKey = 'ma_id';

    const CREATED_AT = 'ma_createtime';
    const UPDATED_AT = null;

    protected $dateFormat = 'U';

    protected $fillable = [
        'ma_phone',
        'ma_address',
        'ma_servicearea',
        'ma_servicetype',
        'ma_havecar',
        'ma_havewarehouse',
        'ma_teamnum',
        'ma_logistics',
        'ma_truename',
        'ma_weixin',
        'ma_qq',
        'ma_zhifubao',
        'ma_idcard',
        'ma_idcardfront',
        'ma_idcardback',
        'ma_photo',
        'ma_userid',
        'ma_openid',
        'ma_finishnum',
        'ma_refusenum',
        'ma_score',
        'ma_reason',
        'ma_state',
        'ma_havecarnum',
        'ma_recdelarea',
        'ma_sex',
        'ma_psphone',
        'ma_doortime',
        'ma_sbtime',
    ];

    protected $casts = [
    ];

}
